export function check(roles, array, callBack) {
  const List = array.map(item => {
    return roles.some(role => item === role.title)
  })
  callBack(List)
}
